package com.winning.pmph.mapper;

import com.winning.pmph.entity.IncreaseQrCode;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lbm
 * @since 2021-12-30
 */
public interface IncreaseQrCodeMapper extends BaseMapper<IncreaseQrCode> {

    public List<Map<String, Object>> list(@Param("bookId") String bookId, @Param("qrName") String qrName, @Param("resourceType") String resourceType, @Param("start") int start, @Param("size") int size);
    public int listCount(@Param("bookId") String bookId, @Param("qrName") String qrName, @Param("resourceType") String resourceType);

    public List<Map<String, Object>> listChapterQr(@Param("bookId") String bookId);
}
